package com.jay.lang.clazz;

public class RuntimeCls {
	// 见ProcessCls
	public static void main(String[] args) {
		System.out.println(Runtime.getRuntime());
		Runtime r = Runtime.getRuntime();
		r.traceInstructions(true);
		r.traceMethodCalls(true);
		System.out.println(r.availableProcessors());
		System.out.println(r.freeMemory());
		System.out.println(r.maxMemory());
		System.out.println(r.totalMemory());
		r.traceInstructions(true);
		r.traceMethodCalls(true);
		r.halt(1);
	}
}
